package com.example.work.Excel;

import lombok.Data;

import java.util.List;
import java.util.Map;
import java.util.stream.Collectors;

@Data
public class AssetEntity {

    private String divId;
    private String divisionAssetId;
    private String ispCode;
    private String orgCode;
    private String isAccess;
    private String netPosition;
    private String assetName;
    private String divAssetType;
    private String divReportAssetType;
    private String status;
    private String location;
    private String assetTag;
    private String assetModel;
    private String assetVersion;
    private String divManufacturer;
    private String divBrandName;
    private String divBrandRegion;
    private String divOpenSource;
    private String objectName;
    private String objectLevel;
    private String foundType;
    private String foundTime;
    private String ports;
    private String assetIp;
    private String ledger2SystemName;
    private String ledger2IpAddress;
    private String ledger2Port;
    private String ledger2DeletedSystemName;
    private String ledger2DeletedIpAddress;
    private String ledger2DeletedPort;
    private String remark;

    private String memoryManufacturer;
    private String memoryModel;
    private String chipManufacturer;
    private String chipModel;
    private String cpuManufacturer;
    private String cpuModel;


    private String id;
    private String relaId;
    private String assetId;
    private String assetType;
    private String reportAssetType;
    private String soState;
    private String openSource;
    private String componentName;
    private String componentNameVersion;
    private String ipServce;
    private String manufacturer;
    private String brandName;
    private String brandRegion;
    private String ipAccessControl;
    private String ipAccessControlRemark;
    private String softwareName;
    private String softwareVersion;
    private String operaSystemVersion;
    private String hwModel;
    private String hwVersion;
    private String foundTypeEarliest;
    private String updateTime;
    private String recordCreateTime;
    private String updateUserName;
    private String updateUser;
    private String createUserName;
    private String createUser;
    private String createTime;
    private String assetDeleted;

/*    public String createMatchKey() {
        String assetTypeCode = this.getReportAssetType() != null ? this.getReportAssetType() : "";
        String portStr = this.getPorts() != null ? this.getPorts() : "";
        String ipStr = this.getAssetIp() != null ? this.getAssetIp() : "";
        return ipStr + "|" + portStr + "|" + assetTypeCode;
    }*/

}